package com.atguigu.jxc.service;

import com.atguigu.jxc.domain.ServiceVO;
import com.atguigu.jxc.entity.PurchaseList;

import java.util.Map;

/**
 * @author 杨林
 * @create 2023-01-29 20:45 星期日
 * description:
 */
public interface PurchaseListGoodsService {

    /**
     * 进货单保存
     * @param purchaseList
     * @param purchaseListGoodsStr
     * @return
     */
    ServiceVO save(PurchaseList purchaseList, String purchaseListGoodsStr);

    /**
     * 进货单列表展示（可条件查询：单据号模糊、供应商、是否付款和日期区间）
     * @param purchaseNumber
     * @param supplierId
     * @param state
     * @param sTime
     * @param eTime
     * @return
     */
    Map<String, Object> list(String purchaseNumber, Integer supplierId, Integer state, String sTime, String eTime);

    /**
     * 进货单商品信息展示
     * @param purchaseListId
     * @return
     */
    Map<String, Object> goodsList(Integer purchaseListId);
}
